package com.zsck.zsali.base;

import androidx.lifecycle.ViewModel;

import org.jetbrains.annotations.NotNull;

import io.reactivex.Observer;



public class BaseViewModel<T extends BaseModel> extends ViewModel {


   /* @NotNull
    protected Observer createObserver(){

    }*/

    /*protected void setiDatasListener(BaseModel baseModel) {
        baseModel.setiDatasListener(new IDatasListener() {
            @Override
            public void getSuccess(int responCode, String responType, Object data) {
                onSuccess(responCode, responType, data);
            }

            @Override
            public void getfaild(int responCode, String responType, String errorMessage, Object data) {
                onFail(responCode, responType, errorMessage, data);
            }
        });
    }*/
}
